package com.ibeetl.admin.console.web.query;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;

import com.ibeetl.admin.core.annotation.Query;
import com.ibeetl.admin.core.util.Tool;
import com.ibeetl.admin.core.util.enums.CoreDictType;
import com.ibeetl.admin.core.web.query.PageParam;

public class UserQuery extends PageParam {

	@Query(name="id",display=false)
	private Long userId ;
	@Query(name="dataOrgId",display=false)
	private Long dataOrgId ;
	@Query(name="账号",display=true,fuzzy=true)
	private String code ;
	@Query(name="姓名",display=true,fuzzy=true)
	private String userName ;
	@Query(name="事业部",display=true,type=Query.TYPE_CONTROL,control="org")
	private Long orgId;
	
	@Query(name="状态",display=true,type=Query.TYPE_DICT,dict=CoreDictType.USER_STATUS)
	private String status;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Long getOrgId() {
		return orgId;
	}
	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDataOrgId() {
		return dataOrgId;
	}

	public void setDataOrgId(Long dataOrgId) {
		this.dataOrgId = dataOrgId;
	}
}
